package com.springboot.start.springbootorigin.service;


import com.springboot.start.springbootorigin.entity.User;

/**
 * @author FireWang
 * @date 2020/11/08
 */
public interface UserService {
    /**
     * 查询demo
     *
     * @return
     */
    String sayhello();

    /**
     * 插入demo
     *
     * @param user
     * @return
     */
    String addUser(User user);

    /**
     * 删除数据
     *
     * @param id
     * @return
     */
    String deleteUser(int id);
}
